xen/include: public: Document the padding in struct xen_hvm_param
authorJulien Grall <jgrall@amazon.com>
Thu, 6 Feb 2020 15:41:18 +0000 (15:41 +0000)
committerJulien Grall <julien@xen.org>
Sat, 8 Feb 2020 11:55:23 +0000 (11:55 +0000)
commit24ea7abcdc8654ad2d9831a79c6d6f580aca6a3c
treed4cb5c29f5931ff52d78336be80ad02f354bea44
parent72dbcf0c065037dddb591a072c4f8f16fe888ea8
xen/include: public: Document the padding in struct xen_hvm_param

There is an implicit padding of 2 bytes in struct xen_hvm_param between
the field domid and index. Make it explicit by introduce a padding
field. This can also serve as documentation.

Note that I don't think we can mandate it to be zero because a guest may
not have initialized the padding.

Signed-off-by: Julien Grall <jgrall@amazon.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wl@xen.org>
xen/include/public/hvm/hvm_op.h